package com.love.marriage.userMembershipRewardInfo.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.love.marriage.common.entity.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;

/**
 * description:  用户会员悬赏表类
 * author:       alex
 * createDate: 2025-01-25 11:20:42
 * version:      1.0.0
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("user_membership_reward_info_t")
@Schema(description = "用户会员悬赏表")
public class UserMembershipRewardInfo extends BaseEntity<UserMembershipRewardInfo>{

    @Schema(description = "用户ID", type = "Long", implementation = Long.class)
    @TableField("user_id")
    private Long userId;

    @Schema(description = "会员ID，关联会员配置", type = "Long", implementation = Long.class)
    @TableField("membership_id")
    private Long membershipId;

    @Schema(description = "会员开始时间", type = "LocalDateTime", implementation = LocalDateTime.class)
    @TableField("start_time")
    private LocalDateTime startTime;

    @Schema(description = "会员结束时间", type = "LocalDateTime", implementation = LocalDateTime.class)
    @TableField("end_time")
    private LocalDateTime endTime;

}
